Combing Data Filter and Data Sampling for Cross-Company Defect Prediction: An Empricial Study

نویسندگان

  • Xiao Yu
  • Man Wu
  • Yan Zhang
  • Mandi Fu
چکیده

Cross-company defect prediction (CCDP) is a practical way that trains a prediction model by exploiting one or multiple projects of a source company and then applies the model to target company. Unfortunately, larger irrelevant crosscompany (CC) data usually makes it difficult to build a prediction model with high performance. On the other hand, the CC data has the highly imbalanced nature between the defectiveprone and non-defective classes, which will degrade the performance of CCDP. To address such issues, this paper proposes an approach, in which data sampling is combined with data filter, to overcome these problems. Data sampling seeks a more balanced dataset through the addition or removal of instances, while data filter is a process of filtering out the irrelevant CC data so that the performance of CCDP models can be improved. We employ two data filtering methods called NN filter and DBSCAN filter combined with SMOTE (Synthetic Minority Oversampling Technique) and RUS (Random UnderSampling). Eight different approaches would be produced when combing these four techniques: 1NN filter performed prior to RUS; 2NN filter performed after RUS; 3NN filter performed prior to SMOTE; 4NN filter performed after SMOTE; 5DBSCAN filter performed prior to RUS; 6DBSCAN filter performed after RUS; 7DBSCAN filter performed prior to SMOTE; 8DBSCAN filter performed after SMOTE. The empirical study was carried out on 15 publicly available project datasets. The experimental results demonstrate that NN filter performed prior to RUS (Approach 1) performs better than the other seven approaches. Keywords—software defect prediction;cross-company defect prediction;data sampling; data filter

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Class Imbalance Learning for Cross-Company Defect Prediction

Cross-company defect prediction (CCDP) is a practical way that trains a prediction model by exploiting one or multiple projects of a source company and then applies the model to target company. Unfortunately, the performance of such CCDP models is susceptible to the high imbalanced nature between the defect-prone and non-defect classes of CC data. Class imbalance learning is applied to alleviat...

متن کامل

A Data Filtering Method Based on Agglomerative Clustering

Cross-company defect prediction (CCDP) is a practical way that trains a prediction model by exploiting one or multiple projects of a source company and then applies the model to target company. Unfortunately, larger irrelevant crosscompany (CC) data usually makes it difficult to build a crosscompany defect prediction model with high performance. To address such issues, this paper proposes a dat...

متن کامل

Cross- vs Within-Company Defect Prediction Studies

In a recent May 2007 IEEE TSE article, Kitchenham et.al. explored effort estimation and found contradictory evidence about the value of crossvs within-company data. Those contradictory results may have been the result of effort estimation features, some of which are subjective in nature. Static code features are different than effort estimation features. They can be generated in an automatic, r...

متن کامل

A Multi-Source TrAdaBoost Approach for Cross-Company Defect Prediction

Cross-company defect prediction (CCDP) is a practical way that trains a prediction model by exploiting one or multiple projects of a source company and then applies the model to target company. Unfortunately, larger irrelevant crosscompany (CC) data usually makes it difficult to build a prediction model with high performance. On the other hand, brute force leveraging of CC data poorly related t...

متن کامل

Transfer learning for cross-company software defect prediction

0950-5849/$ see front matter 2011 Elsevier B.V. A doi:10.1016/j.infsof.2011.09.007 ⇑ Corresponding author. Tel.: +86 028 61830557; fa E-mail addresses: [email protected] (Y. Ma), g [email protected] (X. Zeng), [email protected] Context: Software defect prediction studies usually built models using within-company data, but very few focused on the prediction models trained with cross-company da...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017